<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Yuanxiao_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-yuanxiao_id" data-rule="required"  data-params='{"custom[type]":"1"}' data-field="title" data-source="yuanxiao/index" class="form-control selectpage" name="row[yuanxiao_id]" type="text" value="">
        </div>
    </div>
    
 
     <div class="form-group">
        <label for="c-year" class="control-label col-xs-12 col-sm-2">{:__('Year')}:</label>
        <div class="col-xs-12 col-sm-8">                       
            <select  id="c-year" class="form-control selectpicker" name="row[year]">
                {foreach name="yearList" item="vo"}
                    <option value="{$vo[1]}" {in name="key" value=""}selected{/in}>{$vo[0]}</option>
                {/foreach}
            </select>
        </div>
    </div>
    
    
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-title" data-rule="required" class="form-control" name="row[title]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-num" data-rule="required" class="form-control" name="row[num]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('trimnum')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-trimnum" data-rule="required" class="form-control" name="row[trimnum]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Exam')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-exam" class="form-control" name="row[exam]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('References')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-references" class="form-control" name="row[references]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Enrollmentmark')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-enrollmentmark" class="form-control" name="row[enrollmentmark]" type="text">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
